﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Threading.Channels;

namespace Model
{
    /// <summary>
    /// 食谱表
    /// </summary>
    /// 
    [Table("Helte")]
    public class Helte
    {

        [Key]
        public int HelteId { get; set; }

        /// <summary>
        /// 食谱标题
        /// </summary>
        public string HelteName { get; set; }
       //食谱分类名称
        public int HelteTypeId { get; set; }


        /// <summary>
        /// 标签
        /// </summary>
         public  string HeltebQ { get; set; }
             
        /// <summary>
        /// 分享
        /// </summary>
         public int HelteNum { get; set; }

        /// <summary>
        /// 收藏
        /// </summary>
         public int HelteSc {  get; set; }


        /// <summary>
        /// 图片
        /// </summary>
         public  string HelteImg { get; set; }

        /// <summary>
        /// /更新人
        /// </summary>
         public string Name { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
         public DateTime HelteDate { get; set; }


        /// <summary>
        /// 状态
        /// true：已发布
        /// false：未发布
        /// </summary>
         public  bool State { get; set; }=true;
    }
}
